<?php
    session_start();
      
    include ('../includes/config.php');
    
    include ('../includes/authenticate.php');
    
    include ('../includes/database.php');
    include ('../includes/user_header.php');
?>

<div class="container">
    <script>
     $(function(){
        var pickerOpts = {
            dateFormat:"yy-mm-dd"
        };  
        $("#datepicker").datepicker(pickerOpts);
     });

    </script>
    
    <form method="POST" action="<?php echo $__config['base_url'] ?>administrator/event_save.php?action=add">
        <label> Nama Event </label>
        <input type="text" name="name" />
        
        <label> Tempat </label>
        <input type="text" name="place" />
        
        <label> Tanggal </label>
        <input type="text" name="date" id="datepicker"/>

        
        <label> Ringkasan Singkat Event </label>
        <textarea name="excerpt"> </textarea>
        
        <label> Ringkasan </label>
        <textarea name="description"> </textarea>
        
        <br/>
        <input type="submit" class="btn" />
    </form>
</div>

<?php
     include ('../includes/user_footer.php');
?>
